<template>
  <div id="app">
      <header>
        <router-view name="header" />
      </header>

      <section>
        <router-view name="section" />
      </section>

      <footer>
        <router-view name="footer" />
      </footer>

    <router-view/>
  </div>
</template>

<style lang="less">
  *{
    margin: 0;
    padding: 0;
  }
  html, body {
    height: 100%;
  }
  #app{
    display: flex;
    width: 750px;
    height: 100%;
    flex-direction: column;
  }
  header{
    width: 100%;
    height: 88px;
  }
  section{
    flex: 1;
  }
  footer{
    width: 100%;
    height: 98px;
  }
</style>
